export default {
    namespaced: true,
    state: () => ({
        account: {},
        info: {},
    }),
    mutations: {
        'SET_USER_ACCOUNT'(state, account = {}) {
            state.account = account
            // localStorage.setItem('account', JSON.stringify(account))
        },
        'CLEAR_USER_ACCOUNT'(state) {
            state.account = {}
            localStorage.removeItem('account');
        },
    }
}
